<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%--
  ~ Copyright (c) 2017 22420103@QQ.COM 版权所有
  ~
  --%>

<div class="col-xs-12" style="margin-top:5px;">
	<table id="simple-table" class="table table-bordered table-hover">
		<thead>
			<tr>
				<th class="center">序号</th>
				<th class="center">日期</th>
				<th class="center">微信充值金额</th>
				<th class="center">售卡金额</th>

			</tr>
		</thead>
		
		<tbody>
			<c:forEach items="${data}" var="item" varStatus="i">
		       <tr>
					<td class="center">
						${i.index + 1}
					</td>
					<td class="center">${item.date }</td>
				   <td class="center"><fmt:formatNumber value="${item.fee}" pattern="#0.00" />元</td>
				   <td class="center"><fmt:formatNumber value="${item.goldFee}" pattern="#0.00" />元</td>
				</tr>
		    </c:forEach>
			<tr>
				<td class="center" colspan="2">
					<span class="label label-success arrowed">
						总合计：<fmt:formatNumber value="${allFeeSum+allGoldFeeSum}" pattern="#0.00" />元
						微信充值总合计：<fmt:formatNumber value="${allFeeSum}" pattern="#0.00" />元
						金币充值总合计：<fmt:formatNumber value="${allGoldFeeSum}" pattern="#0.00" />元
					</span>
				</td>
				<td class="center" colspan="2">
					<span class="label">
						单页合计：<fmt:formatNumber value="${pageFeeSum+pageGoldFeeSum}" pattern="#0.00" />元
						微信充值单页合计：<fmt:formatNumber value="${pageFeeSum}" pattern="#0.00" />元
						金币充值单页合计：<fmt:formatNumber value="${pageGoldFeeSum}" pattern="#0.00" />元
					</span>
				</td>
			</tr>
			</tbody>
		</table>
		<%@include file="../paging.jsp" %>
</div>

